package com.xmy.cultivate.service;

import com.xmy.cultivate.entity.OrganizationDepartmentPrincipal;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 部门负责人详情 服务类
 * </p>
 *
 * @author hpiggy
 * @since 2025-05-27
 */
public interface IOrganizationDepartmentPrincipalService extends IService<OrganizationDepartmentPrincipal> {

    public abstract OrganizationDepartmentPrincipal getByDepartmentId(
            String departmentId,
            Long dutyId,
            Long staffId,
            Integer yearPart,
            Integer quarterNum);


    String getYearClassIdsForTeacherId(@Param("yearPart") Integer yearPart, @Param("quarterNum") Integer quarterNum, @Param("teacherId") Long teacherId, @Param("dutyType") Integer dutyType);
}
